package com.xiaoshuidi.cloud.module.finance.framework.web.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.Set;

/**
 * 全局支付开头/白名单
 */
@Data
@RefreshScope
@ConfigurationProperties(prefix = "lease.pay.switch")
public class PayWhitelist {
    private boolean enabled = true;
    private String message;
    private Set<String> whitelist;
    private Set<String> blacklist;
    private Set<Long> apartmentId;
}
